<template>
	<view class='loadingicon acea-row row-center-wrapper' v-if="show">
		<text class='loading iconfont icon-jiazai' v-if="state==0"></text>
		<span>{{stateList[state]}}</span>
	</view>
</template>

<script>
export default{
	data(){
		return {
			
		}
	},
	props:{
		stateList:{
			type:Array,
			default:()=>["加载中","上拉加载","没有更多了","加载失败"]
		},
		state:{
			type:Number,
			default:1
		},
		show:{
			type:Boolean,
			default:true
		}
	}
}
</script>

<style>
</style>